package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;


@FieldTypeAnnotation(tableName = "t_l_ck_winery_drinker", desc = "酒坊深夜酒馆日志", autoSave = true, uploadCk = true)
public class LogWineryDrinker extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "门客ID")
    private int drinkerId;

    @FieldTypeAnnotation(desc = "消耗")
    private String cost;

    @FieldTypeAnnotation(desc = "变更前醉意值")
    private int preFeelingOfDrunk;

    @FieldTypeAnnotation(desc = "变更后醉意值")
    private int feelingOfDrunk;

    @FieldTypeAnnotation(desc = "变更前友情值")
    private int preFriendValue;

    @FieldTypeAnnotation(desc = "变更后友情值")
    private int friendValue;

    @FieldTypeAnnotation(desc = "收益")
    private int income;

    public LogWineryDrinker(long userId, int drinkerId, String cost, int preFeelingOfDrunk, int feelingOfDrunk, int preFriendValue, int friendValue, int income) {
        this.userId = userId;
        this.drinkerId = drinkerId;
        this.cost = cost;
        this.preFeelingOfDrunk = preFeelingOfDrunk;
        this.feelingOfDrunk = feelingOfDrunk;
        this.preFriendValue = preFriendValue;
        this.friendValue = friendValue;
        this.income = income;
    }

    public long getUserId() {
        return userId;
    }

}
